package org.opens.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = MyProperties.MY_PREFIX)
@Data
public class MyProperties {

    public static final String MY_PREFIX = "my";

    private String name;

    /**
     * 该属性从配置文件中加载属性时, 属性名字为id-arr
     */
    private String idArr;

}
